#define __LOCAL_TEST__
#define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include "../题单.入门4.数组/P1789.插火把.cpp"

int main()
{
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    return Solution().main();
}